package com.fudan.backend.service;

import com.fudan.backend.exception.RetCode;
import com.fudan.backend.pojo.CommodityLaunchRequest;
import com.github.pagehelper.PageInfo;


public interface CommodityLaunchRequestService {
    PageInfo<CommodityLaunchRequest> getAllCommodityLaunchRequestByPage(Integer current, Integer pagesize);
    PageInfo<CommodityLaunchRequest> getStoreCommodityLaunchRequestByPage(String storeId, Integer current, Integer pagesize);

    CommodityLaunchRequest getCommodityLaunchRequestByCommodityLaunchRequestId(String id);

    RetCode setCommodityLaunchRequestStatus(String commodityLaunchRequestId, Integer status);

    RetCode setInfo(String commodityLaunchRequestId, String info);

    RetCode addCommodityLaunchRequest(CommodityLaunchRequest request);

    RetCode process(CommodityLaunchRequest request);
}
